import { get, post } from '../../utils/axios'


//模板列表
export const approvalTemplateList = (param:any)=>get('/back/approval/template/list',param)

//创建模板
export const approvalTemplateAdd = (param:any)=>post('/back/approval/template/add',param)

//模板启用停用
export const approvalTemplatePublish = (id:number,status:string)=>post('/back/approval/template/publish/'+id+'/'+status)
